package br.com.sado.statistica;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;

public class Moment {

	public void Average(int n, String path){
		File name = new File(path);
		@SuppressWarnings("unused")
		double dado = 0.0;
		@SuppressWarnings("unused")
		double data[] = new double[(int) name.length()];
		if( (name.exists()) && (name.isFile()) ){
			try {
				BufferedReader reader = new BufferedReader(new FileReader(name));
				String linha = reader.readLine();
				while(linha != null){
					
				}
				
			} catch (Exception e) {
				// TODO: handle exception
			}
			
		}else{
			System.out.println("Entre com um arquivo válido.");
		}
	}
		
}
